using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
[Serializable]
public class SysExceptonlogTable : TableInfo
{
public const string C_TABLENAME = "Sys_Exceptonlog";

public const string C_EXCEPTIONLOGID = "EXCEPTIONLOGID";

public const string C_MODULEID = "MODULEID";

public const string C_MODULENAME = "MODULENAME";

public const string C_RECORDTIME = "RECORDTIME";

public const string C_EXCEPTIONMESSAGE = "EXCEPTIONMESSAGE";

public const string C_ORGSTACKTRACE = "ORGSTACKTRACE";

public const string C_EXCEPTIONURL = "EXCEPTIONURL";

public const string C_IPADDRESS = "IPADDRESS";

public const string C_USERID = "USERID";

public const string C_USERNAME = "USERNAME";

public const string C_ACTIONTYPE = "ACTIONTYPE";

public const string C_EXCEPTIONTYPE = "EXCEPTIONTYPE";

public SysExceptonlogTable()
{
_tableName = "Sys_Exceptonlog";
}

protected static SysExceptonlogTable _current;
public static SysExceptonlogTable Current
{
get
{
if (_current == null )
{
Initial();
}
return _current;
}
}

private static void Initial()
{
_current = new SysExceptonlogTable();

_current.Add(C_EXCEPTIONLOGID, new ColumnInfo(C_EXCEPTIONLOGID, "", true, typeof(Int32?)));

_current.Add(C_MODULEID, new ColumnInfo(C_MODULEID, "", false, typeof(String)));

_current.Add(C_MODULENAME, new ColumnInfo(C_MODULENAME, "", false, typeof(String)));

_current.Add(C_RECORDTIME, new ColumnInfo(C_RECORDTIME, "", false, typeof(DateTime?)));

_current.Add(C_EXCEPTIONMESSAGE, new ColumnInfo(C_EXCEPTIONMESSAGE, "", false, typeof(String)));

_current.Add(C_ORGSTACKTRACE, new ColumnInfo(C_ORGSTACKTRACE, "", false, typeof(String)));

_current.Add(C_EXCEPTIONURL, new ColumnInfo(C_EXCEPTIONURL, "", false, typeof(String)));

_current.Add(C_IPADDRESS, new ColumnInfo(C_IPADDRESS, "", false, typeof(String)));

_current.Add(C_USERID, new ColumnInfo(C_USERID, "", false, typeof(String)));

_current.Add(C_USERNAME, new ColumnInfo(C_USERNAME, "", false, typeof(String)));

_current.Add(C_ACTIONTYPE, new ColumnInfo(C_ACTIONTYPE, "", false, typeof(String)));

_current.Add(C_EXCEPTIONTYPE, new ColumnInfo(C_EXCEPTIONTYPE, "", false, typeof(String)));

}

public ColumnInfo EXCEPTIONLOGID
{
get { return this[C_EXCEPTIONLOGID]; }
}

public ColumnInfo MODULEID
{
get { return this[C_MODULEID]; }
}

public ColumnInfo MODULENAME
{
get { return this[C_MODULENAME]; }
}

public ColumnInfo RECORDTIME
{
get { return this[C_RECORDTIME]; }
}

public ColumnInfo EXCEPTIONMESSAGE
{
get { return this[C_EXCEPTIONMESSAGE]; }
}

public ColumnInfo ORGSTACKTRACE
{
get { return this[C_ORGSTACKTRACE]; }
}

public ColumnInfo EXCEPTIONURL
{
get { return this[C_EXCEPTIONURL]; }
}

public ColumnInfo IPADDRESS
{
get { return this[C_IPADDRESS]; }
}

public ColumnInfo USERID
{
get { return this[C_USERID]; }
}

public ColumnInfo USERNAME
{
get { return this[C_USERNAME]; }
}

public ColumnInfo ACTIONTYPE
{
get { return this[C_ACTIONTYPE]; }
}

public ColumnInfo EXCEPTIONTYPE
{
get { return this[C_EXCEPTIONTYPE]; }
}

}
}